package com.gsm.dao;

import com.gsm.po.Subject;

import java.util.List;

/**
 * 科目(Subject)表数据库访问层
 *
 * @author wjq
 * @since 2020-11-27 00:42:53
 */
public interface SubjectDao {

    int insertSubject(Subject subject);

    int deleteSubjectBySubjectId(Long subjectId);

    int updateSubjectBySubjectId(Subject subject);

    Subject selectSubjectBySubjectId(Long subjectId);

    List<Subject> selectSubjectList(Subject subject);

    Integer selectMaxShowOrder();

    int updateSubjectShowOrder(List<Long> list);
}